package demo04_Singleton.LoadBalancer;

/**
 * 静态内部类单例
 */
public class IoDHSingleton {

    private static class InterClass {
        private static final IoDHSingleton instance = new IoDHSingleton();
    }

    private IoDHSingleton() {
    }

    public static IoDHSingleton getInstance() {
        return InterClass.instance;
    }
}
